<div id="header">
    <div class="banner">
        <div class="logo">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="705" height="90" id="Banner" align="middle">
                <param name="movie" value="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/Banner.swf" />
                <param name="quality" value="best" />
                <param name="bgcolor" value="#ffffff" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="transparent" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/Banner.swf" width="705" height="90">
                    <param name="movie" value="Banner.swf" />
                    <param name="quality" value="best" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                    <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
        <div class="contact"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/images/contact.jpg"  alt="Tư vấn trực tiếp qua điện thoại" /></div>
    </div>
    <div class="Nav_PGV">
        <ul class="menu" id="menu">
            <?php
            if (count(MyFunctionCustom::getAllMenu()) > 0) {
                foreach (MyFunctionCustom::getAllMenu() as $key => $value) {
                    if ($value['order'] !== '1') {
                        if (Yii::app()->controller->action->id == 'index' && Yii::app()->getController()->getId() == 'product' && ($value['slug'] == 'san-pham' || $value['slug'] == 'san-pham-1')) {
                            echo '<li class="selected"><a href="' . Yii::app()->baseUrl . '/' . $value['slug'] . '.html">' . $value['name'] . '</a></li>';
                        } else {
                            echo '<li><a href="' . Yii::app()->baseUrl . '/' . $value['slug'] . '.html">' . $value['name'] . '</a></li>';
                        }
                    } else {
                        echo '<li><a href="/">' . $value['name'] . '</a></li>';
                    }
                }
            }
            ?>
        </ul>
        <ul class="search">
            <li><form method="GET" action="/tin-tuc-su-kien/tim-kiem"><input type="text" name="q" spellcheck="false" placeholder="Nhập tin tức cần tìm" id="search" name="q"/></form></li>
        </ul>
    </div>
</div>